#pragma once
#ifndef winFile_h__
#define winFile_h__

#include "../../inc/skyAdapter.h"
#include "../../inc/skyObject.h"

#ifdef _WIN_

#include "../../inc/skyString.h"
#include <Windows.h>
namespace Sky
{
	class OSDiskManager : public Object
	{

	};

    class OSFile : public Object
    {
    public:
	    OSFile();
	    i32 readLine( u8* buff,u32 buffLen);
    protected:
	    HANDLE hFile;
    };

    class OSDirectory
    {
    public:
	    OSDirectory();
	    const StringPtr listFileInDir(const StringPtr& dirPath,const StringPtr& fileMask,Bool isFirst = vTrue,StringPtr& out = StringPtr());
    private:
	    HANDLE hListFile;
	    WIN32_FIND_DATA FindFileData;
    };

}
#endif 
#endif //_WIN_

